package com.kata.chapter2;

/**
 * Created by Solidsnake on 2014/11/16.
 */
public class BMW implements Car {

    private String name;

    private String drive;

    @Override
    public void printName() {
        System.out.println(name);
    }

    @Override
    public void driving() {
        System.out.println(drive);
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDrive() {
        return drive;
    }

    public void setDrive(String drive) {
        this.drive = drive;
    }
}
